import java.util.ArrayList;
import java.util.List;

public class Test {
    public static void main(String[] args) {
        Game game=new Game();
        List<Card>listCard=game.createCards();
        System.out.println("初始牌堆："+listCard);
        game.shuffle(listCard);
        System.out.println("洗过的牌："+listCard);
        List<List<Card>> hand=game.play(listCard);
        for (int i = 0; i <3 ; i++) {
            System.out.println("第"+(i+1)+"个人的牌是"+hand.get(i));
        }
        System.out.println("剩余的牌是"+listCard);

    }
}
